import {createRouter, createWebHashHistory} from 'vue-router'

const router = createRouter({
    history: createWebHashHistory(import.meta.env.BASE_URL),
    routes: [
        {
            path: '/',
            name: 'home',
            component: () => import('../views/home.vue')
        },
        {
            path: '/servers',
            name: 'servers',
            component: () => import('../views/login/servers.vue')
        },
        {
            path: '/server1',
            name: 'server1',
            component: () => import('../views/login/server1.vue')
        },
        {
            path: '/xy',
            name: 'xy',
            component: () => import('../views/xy/index.vue')
        },
    ]
})

export default router
